package com.chii.image.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface ImageService {

    String saveImageLocal(MultipartFile file, String fileName) throws IOException;

    String saveBase64ImageLocal(String file, String fileName) throws IOException;

    String saveImageFTP(MultipartFile file, String fileName) throws IOException;

    String saveBase64ImageFTP(String file, String fileName) throws IOException;

    String saveImageQiNiu(MultipartFile file, String fileName) throws IOException;

    String saveBase64ImageQiNiu(String file, String fileName) throws IOException;


}
